home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 1178 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.8 KB

  1. Path: engnews1.Eng.Sun.COM!taumet!clamage
  2. From: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson)
  3. Newsgroups: comp.std.c++
  4. Subject: Re: auto_ptr problems
  5. Date: 20 Apr 1996 15:45:57 GMT
  6. Organization: Comp Sci, University of Melbourne
  7. Approved: clamage@eng.sun.com (comp.std.c++)
  8. Message-ID: <4l9vb5$665@mulga.cs.mu.OZ.AU>
  9. References: <4l0uib$snf@netlab.cs.rpi.edu> <4l3ujn$cl5@netlab.cs.rpi.edu> <4l86m8$s53@netlab.cs.rpi.edu>
  10. NNTP-Posting-Host: taumet.eng.sun.com
  11. X-Nntp-Posting-Host: mundook.cs.mu.oz.au
  12. Content-Length: 919
  13. Originator: clamage@taumet
  14.  
  15. In comp.lang.c++.moderated, kanze@gabi-soft.fr (J. Kanze) writes:
  16.  
  17. >"Nathan Myers" <ncm@cantrip.org> writes:
  18. >
  19. >|> The Draft standard requires that your compiler not try to generate
  20. >|> auto_ptr::operator->() unless you use it.
  21. [...]
  22. >The requirement in the draft that Nathan is referring to (and which *is*
  23. >new, and not supported by many compilers) is that they not check the
  24. >return type of operator-> *unless* they actual have to generate the
  25. >function.  (I'm not sure of the exact words, but that is more or less
  26. >the meaning.)
  27.  
  28. I'm sure you're right, but when I had a look for this in the draft
  29. standard, I couldn't find it.  Could anyone please direct me to the
  30. appropriate place?
  31.  
  32. --
  33. Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
  34. WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
  35. PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
  36.  
  37.  
  38. [ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
  39. [ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
  40. [ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
  41. [ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
  42. [ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
  43.